package com.project.dao;

import com.project.entity.Role;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:53
 * @param:
 * @return:
 */
public interface RoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    /**
     * author: WheelChen
     * date: 2017/11/5
     * function: 根据条件模糊查找
     *
     * @param role
     * @return
     */
    List<Role> selectBatchByCondition(Role role);

    int deleteBatchByPk(List idList);
}
